var runtime.newmHandoff
21 uses
runtime (current package)
proc.go#L2750: var newmHandoff struct {
proc.go#L2803: lock(&newmHandoff.lock)
proc.go#L2804: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2807: mp.schedlink = newmHandoff.newm
proc.go#L2808: newmHandoff.newm.set(mp)
proc.go#L2809: if newmHandoff.waiting {
proc.go#L2810: newmHandoff.waiting = false
proc.go#L2811: notewakeup(&newmHandoff.wake)
proc.go#L2813: unlock(&newmHandoff.lock)
proc.go#L2861: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2888: lock(&newmHandoff.lock)
proc.go#L2889: for newmHandoff.newm != 0 {
proc.go#L2890: newm := newmHandoff.newm.ptr()
proc.go#L2891: newmHandoff.newm = 0
proc.go#L2892: unlock(&newmHandoff.lock)
proc.go#L2899: lock(&newmHandoff.lock)
proc.go#L2901: newmHandoff.waiting = true
proc.go#L2902: noteclear(&newmHandoff.wake)
proc.go#L2903: unlock(&newmHandoff.lock)
proc.go#L2904: notesleep(&newmHandoff.wake)
proc.go#L5352: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |